ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct3D11 Namespace / CommonShaderStageBase Class / SetShaderResources Method / SetShaderResources(Int32,ShaderResourceView[]) Method
Index into the device's zero-based array to begin setting shader resources to (ranges from 0 to D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1).
Array of {{shader resource view}} interfaces to set to the device.

In This Topic
    SetShaderResources(Int32,ShaderResourceView[]) Method
    In This Topic
    Bind an array of shader resources to the shader stage.
    Syntax
    'Declaration
     
    Public Overloads Sub SetShaderResources( _
       ByVal startSlot As System.Integer, _
       ByVal ParamArray shaderResourceViews() As ShaderResourceView _
    ) 
    public void SetShaderResources( 
       System.int startSlot,
       params ShaderResourceView[] shaderResourceViews
    )

    Parameters

    startSlot
    Index into the device's zero-based array to begin setting shader resources to (ranges from 0 to D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1).
    shaderResourceViews
    Array of {{shader resource view}} interfaces to set to the device.
    See Also